﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication2
{
    public partial class WebForm3 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string a = "";
            if (Session["goods"] != null)
            {
                foreach (string item in (List<string>)Session["goods"])
                {
                    a += item + "|";
                }
            }
            Response.Write("购物车： <br/>" + a);
        }
    }
}